#基于哪个镜像
FROM openjdk:8
VOLUME /tmp
EXPOSE 9563
#复制文件到容器
ADD ./ruoyi-admin.jar  /app/ruoyi-admin.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app/ruoyi-admin.jar "]

## docker build -t rouyi-app:v1.0 .